package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.ForgetPasswordResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by ASUS on 2017/8/10.
 */

public interface ForgetPasswordRequest {
    @FormUrlEncoded
    @POST("forgot_password")
    Observable<BaseModel<ForgetPasswordResponse>> getResult(@Field("step") int step,
                                                            @Field("phone_number") String phone_number,
                                                            @Field("withdraw_password") String withdraw_password,
                                                            @Field("sms_code") String sms_code,
                                                            @Field("new_password") String new_password);
}
